package com.good.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
public class One2 extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 586516976717225637L;
	@OneToOne
	@JoinColumn(name="one1_id")
	private One1 one1;
	public One1 getOne1() {
		return one1;
	}
	public void setOne1(One1 one1) {
		this.one1 = one1;
	}

}
